package cn.com.nes.site.service.templatedesign;


import cn.com.nes.mybatis.agent.templatedesign.entity.HDevicemodel;
import cn.com.nes.site.entity.DataReq;
import cn.com.nes.site.entity.vo.design.deviceModelVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
 *  业务接口类
 * @author 
 * @since 2023-09-26
 */
public interface HDevicemodelService {

   public int addHouseDeviceModel(DataReq req)throws Exception ;

   public int updateHouseDeviceModel(DataReq req) throws Exception;

   public int deleteHouseDeviceModelById(DataReq req)throws Exception;


   public List<Map<String,Object>> selectHouseDeviceModel(DataReq req)throws Exception;

   List<Map<String, Object>> selectSbxh_idAndSbxhname(DataReq req)throws Exception;

   int selectAllList(DataReq req)throws Exception;

   int updateDeviceModel(HDevicemodel hDevicemodel)throws Exception;
   int addDeviceModel(HDevicemodel hDevicemodel)throws Exception;

   int deleteDeviceModelById(HDevicemodel hDevicemodel)throws Exception;

   List<Map<String,Object>> selectSbxhIdAndName(HDevicemodel hDevicemodel);

   Page<Map<String, Object>> selectDeviceModel(deviceModelVo modelVo);
}
